home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / dvtools / demos / audiodemo / makefile < prev    next >
Makefile  |  1997-05-08  |  651b  |  34 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. include <dvwin32.mak>
  4.  
  5. # Comment out the next line to disable double buffering.
  6. CFLAGS = $(CFLAGS) -DDOUBLE_BUFFER
  7.  
  8. AUDOBJ =  audiodemo.obj 
  9. RESSRC =  audio.rc
  10.  
  11. !IF "$(CPU)"=="ALPHA"
  12. RESOURCE_OBJS = audior.obj
  13. !ELSE
  14. RESOURCE_OBJS = audio.res
  15. !ENDIF
  16.  
  17. audiodemo.exe: $(AUDOBJ) $(RESOURCE_OBJS)
  18.     $(LINK) $(LINKFLAGS) $(AUDOBJ) \
  19.         $(DV_LIBS) $(RESOURCE_OBJS) -out:audiodemo.exe 
  20.        
  21. .c.obj:
  22.     $(CC) $(INCDIRS) $(CFLAGS) $<
  23.  
  24. audio.res : $(RESSRC)
  25.         rc -r audio.rc
  26.  
  27. audior.obj : $(RESSRC)
  28.         rc -r audio.rc
  29.                 cvtres -alpha audio.res -o audior.obj 
  30.  
  31.  
  32.  
  33.  
  34.